PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowDocumentHeader Class / setTopMargin Method
Margin from top page border where the header starts.
In This Topic
    setTopMargin Method
    In This Topic
    Sets the top margin.
    If the header top margin plus header height are greater than page top margin, the page top margin is increased (content is moved down) in order to accomodate the header.
    Syntax
    public void setTopMargin( 
       double value
    )

    Parameters

    value
    Margin from top page border where the header starts.
    See Also